
//TODO a(42)
function a42(module, exports) {
    var a, i = Object.toJSON || window.JSON && (JSON.encode || JSON.stringify), s = window.JSON && (JSON.decode || JSON.parse) || function (e) {
            return String(e).evalJSON()
        };
    try {
        "localStorage" in window ? a = window.localStorage : "globalStorage" in window && (a = window.globalStorage[window.location.hostname])
    } catch (r) {
    }
    var n = function (e, t) {
        try {
            a.removeItem(e);
            var s = i(t);
            a.setItem(e, s)
        } catch (r) {
            a[e] = i(t)
        }
    }, o = function (e, t) {
        if (e in a)try {
            return s(a.getItem(e))
        } catch (i) {
            return s(a[e])
        }
        return "undefined" == typeof t ? null : t
    };
    module.exports = {set: n, get: o}
}
